package com.yk.i_wms.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yk.i_wms.common.model.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 入库单
 *
 * @author hbq
 * @date 2021-04-01 17:36:42
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_receive_doc")
public class SmsReceiveDoc extends SuperEntity {
    private static final long serialVersionUID=1L;

        @Excel(name = "入库单号")
        @ApiModelProperty(value = "入库单号")
        private String docNo;
        @Excel(name = "供应商代码")
        @ApiModelProperty(value = "供应商代码")
        private String supplierCode;
        @Excel(name = "入库类型（1，采购入库 2，退料入库 3，其他入库）")
        @ApiModelProperty(value = "入库类型（1，采购入库 2，退料入库 3，其他入库）")
        private Integer docType;
        @Excel(name = "入库仓库")
        @ApiModelProperty(value = "入库仓库")
        private String whCode;
        @Excel(name = "入库时间",format="yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "入库时间")
        private Date receiveTime;
        @Excel(name = "单据状态（1，新建 2，入库中 3，关结）")
        @ApiModelProperty(value = "单据状态（1，新建 2，入库中 3，关结）")
        private Integer docState;
        @Excel(name = "开单人")
        @ApiModelProperty(value = "开单人")
        private String docName;
        @Excel(name = "开单日期",format="yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "开单日期")
        private Date docTime;
}
